/* ====================
   登录/注册页面样式
   ==================== */
.auth-container {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.5s ease;
}

.auth-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 30px;
  text-align: center;
  color: white;
}

.auth-header h1 {
  margin-bottom: 10px;
  color: white;
}

.auth-header p {
  opacity: 0.9;
}

.auth-content {
  padding: 30px;
}

/* 表单切换选项卡 */
.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

/* 登录/注册表单 */
.form-title {
  text-align: center;
  margin-bottom: 25px;
  color: var(--dark-color);
}

/* 社交媒体登录 */
.social-login {
  text-align: center;
  margin-top: 25px;
}

.divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
}

.divider:before, .divider:after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #eee;
}

.divider-text {
  padding: 0 15px;
  color: #7f8c8d;
  font-size: 14px;
}

.social-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.social-btn.google {
  color: #db4437;
}

.social-btn.facebook {
  color: #4267B2;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}